.app-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-bg-color) 0%, var(--secondary-bg-color) 100%);
  color: var(--text-color);
  gap: 20px;
  z-index: 1000;
}

.app-loading .ant-spin-dot-item {
  background-color: var(--primary-color);
}

.app-loading p {
  margin-top: 10px;
  font-size: 16px;
  letter-spacing: 1px;
  animation: pulse 2s infinite;
}

.app-layout {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-bg-color) 0%, var(--secondary-bg-color) 100%);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.app-content {
  padding: 30px 20px;
  animation: fadeIn 0.5s ease-out;
}

.main-container {
  display: flex;
  flex-direction: row;
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px;
  position: relative;
}

.main-container::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  filter: blur(40px);
}

.main-container::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  filter: blur(40px);
}

.left-panel {
  flex: 1;
  min-width: 350px;
  transition: all var(--transition-speed);
}

.right-panel {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: all var(--transition-speed);
}

.generate-animation {
  animation: pulse 2s infinite;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
  }
}

/* 响应式设计 */
@media (max-width: 992px) {
  .main-container {
    gap: 20px;
    padding: 5px;
  }
  
  .left-panel {
    min-width: 300px;
  }
}

@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
  }
  
  .left-panel,
  .right-panel {
    width: 100%;
  }
  
  .app-content {
    padding: 15px 10px;
  }
}

.home-content {
  position: relative;
  overflow: hidden;
}

.sections-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-wrapper {
  padding: 80px 0;
  position: relative;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.8s ease-out forwards;
}

.section-wrapper:nth-child(even) {
  background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.05) 100%);
}

.section-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: inherit;
  z-index: -1;
}

@keyframes fadeInUp {
  from {
    opacity: 0.5;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments for sections */
@media (max-width: 768px) {
  .section-wrapper {
    padding: 60px 0;
  }
  
  .sections-container {
    padding: 0 16px;
  }
}